PaymentPlugins\Stripe\Controllers\PaymentIntent S

Total Complexity 25
Dependencies 3
Dependents 6
Total lines 120
Lines of code 71
Logical lines of code 35
Comment lines 15
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
get_payment_method_types()
S
59 7 13
is_setup_intent_needed()
S
77 3 3
get_element_options()
S
66 2 9
update_order_review()
S
73 2 5
add_script_params()
S
70 2 6
__construct()
S
71 1 6
instance()
S
80 1 3
initialize()
S
69 1 6
is_payment_intent_required_for_frontend()
S
80 1 3
is_deferred_intent_creation()
S
80 1 3
set_order_pay_constants()
S
79 1 3
add_element_options_to_fragments()
S
75 1 4
add_blocks_general_data()
S
76 1 4
set_intent_exists()
S
81 1 3